import { useEffect } from 'react';
import { router } from 'expo-router';

export default function RootRedirect() {
  // Redirect to loading screen immediately
  useEffect(() => {
    router.replace('/pages/loading/LoadingScreen');
  }, []);
  
  // Return null as we're immediately redirecting
  return null;
}